export default [
  {
    path: '/settings',
    name: 'settings',
    redirect: {name: 'source'},
    component: resolve => require(['../../views/settings/index.vue'], resolve),
    children: [
      {
        path: 'edit-channel',
        name: 'edit-channel',
        component: resolve => require(['../../views/settings/src/edit-channel.vue'], resolve)
      },
      {
        path: 'create-channel',
        name: 'create-channel',
        component: resolve => require(['../../views/settings/src/create-channel.vue'], resolve)
      },
      {
        path: 'edit-source',
        name: 'edit-source',
        component: resolve => require(['../../views/settings/src/edit-source.vue'], resolve)
      },
      {
        path: 'create-source',
        name: 'create-source',
        component: resolve => require(['../../views/settings/src/create-source.vue'], resolve)
      },
      {
        path: 'source',
        name: 'source',
        component: resolve => require(['../../views/settings/src/source.vue'], resolve)
      },
      {
        path: 'channel',
        name: 'channel',
        component: resolve => require(['../../views/settings/src/channel.vue'], resolve)
      },
      {
        path: 'channel-type',
        name: 'channel-type',
        component: resolve => require(['../../views/settings/src/channel-type.vue'], resolve)
      },
      {
        path: 'alarm-tmpl',
        name: 'alarm-tmpl',
        component: resolve => require(['../../views/settings/src/alarm-tmpl.vue'], resolve)
      },
      {
        path: 'authority',
        name: 'authority',
        component: resolve => require(['../../views/settings/src/authority.vue'], resolve)
      }
    ]
  }
]